<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>零件管理</title>
<%
	String sid = request.getParameter("secondMenuId");
	request.getSession().setAttribute("secondMenuId", sid);
%>
<%@include file="/jsp/include/common.jsp"%>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/extend/tree.loadFilter.js"></script>
</head>
<body class="easyui-layout">
	<%@include file="/jsp/include/commonLayout.jsp"%>
	<div data-options="region:'center'">
	    
					<input id="mouldTree"> 
					<select id="cc" class="easyui-combotree" style="width:200px;"   checkbox="true"
        data-options="  url: getRootPath()+ '/template/json/partTreeList_data.json' ,required:true"></select>  
					
	</div>
</body>
<script type="text/javascript">
	$(document).ready(function() {
		
		
	var mouldTree=$('#mouldTree').combotree({    
		  url: getRootPath()+ '/template/json/partTreeList_data.json',
		  checkbox : true,
		  required: true,
		  width: 300
	});  
	mouldTree.tree=$('#partTree').tree({
	    url: getRootPath()+ '/template/json/treeDemo.json',    
	    parentField:"pid",
	    textFiled:"name",
	    idFiled:"id"
	   
	  }); 
	


}); 

</script>
</html>

		
 

